<!doctype html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport"
        content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>CSS3 滚动条处理</title>
</head>
<style>
  *{
      margin: 0;
      padding: 0;
  }
  body{
      height: 2000px;
      width: 3000px;
  }
  .wapper::-webkit-scrollbar{
      width: 10px;
      height: 10px;
  }
  .wapper::-webkit-scrollbar-thumb{
      background-color: darkgoldenrod;
  }
  .wapper::-webkit-scrollbar-track{
      background-color: darkgreen;
  }
  .wapper{
      width: 200px;
      height: 100px;
      background-color: red;
      overflow-x: scroll;
  }
</style>
<body>
  <div class="wapper">
    788888888888888888888888888888888888888888888888854545454545454545454545454545454
  </div>
</body>
</html>